package com.bizihang.security.core.properties;

/**
 * @author 毕子航 951755883@qq.com
 * @date 2018/08/18
 */
public class BrowserProperties {
	/**
	 * 登陆页面(html)
	 */
	String loginPage = "/base-login.html";
	/**
	 * 处理登陆的地址
	 */
	String loginProcessingUrl = "/authentication/form";

	/**
	 * 记住我的过期时间
	 */
	private int rememberMeSeconds = 3600 * 24;


	/**
	 * 登陆的方式
	 */
	LoginType loginType = LoginType.JSON;

	public String getLoginPage() {
		return loginPage;
	}

	public void setLoginPage(String loginPage) {
		this.loginPage = loginPage;
	}

	public String getLoginProcessingUrl() {
		return loginProcessingUrl;
	}

	public void setLoginProcessingUrl(String loginProcessingUrl) {
		this.loginProcessingUrl = loginProcessingUrl;
	}

	public LoginType getLoginType() {
		return loginType;
	}

	public void setLoginType(LoginType loginType) {
		this.loginType = loginType;
	}

	public int getRememberMeSeconds() {
		return rememberMeSeconds;
	}

	public void setRememberMeSeconds(int rememberMeSeconds) {
		this.rememberMeSeconds = rememberMeSeconds;
	}
}
